.km-view {
    font-family: "STHeitiSC-Light", "STHeiti", "Hei", "Heiti SC", "Microsoft Yahei", Arial, sans-serif;
    -webkit-user-select: none;
    user-select: none;
    position:  relative;
}

.km-view .km-receiver {
    position: absolute;
    left: -99999px;
    top: -99999px;
    width: 20px;
    height: 20px;
    outline: none;
    margin: 0;
}

.km-view image {
    cursor: zoom-in;
}

.km-image-viewer {
    position: fixed;
    z-index: 99999;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, .75);
}

.km-image-viewer .km-image-viewer-container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    white-space: nowrap;
    overflow: auto;
}

.km-image-viewer .km-image-viewer-container::before {
    content: '';
    display: inline-block;
    height: 100%;
    width: 0;
    font-size: 0;
    vertical-align: middle;
}

.km-image-viewer .km-image-viewer-container img {
    cursor: zoom-out;
    vertical-align: middle;
}

.km-image-viewer .km-image-viewer-container img.limited {
    cursor: zoom-in;
    max-width: 100%;
    max-height: 100%;
}

.km-image-viewer .km-image-viewer-toolbar {
    z-index: 1;
    background: rgba(0, 0, 0, .75);
    text-align: right;
    transition: all .25s;
}

.km-image-viewer .km-image-viewer-toolbar.hidden {
    transform: translate(0, -100%);
    opacity: 0;
}

.km-image-viewer .km-image-viewer-btn {
    cursor: pointer;
    outline: 0;
    border: 0;
    width: 44px;
    height: 44px;
    background: url();
}

.km-image-viewer .km-image-viewer-toolbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.km-image-viewer .km-image-viewer-close {
    background-position: 0 -44px;
}

.nav-bar {
    position: absolute;
    width: 35px;
    height: 240px;
    padding: 5px 0;
    left: 10px;
    bottom: 10px;
    background: #6666CC;
    color: #fff;
    border-radius: 4px;
    z-index: 10;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
    transition: -webkit-transform 0.7s 0.1s ease;
    transition: transform .7s 0.1s ease;
  }
  .nav-bar .nav-btn {
    width: 35px;
    height: 24px;
    line-height: 24px;
    text-align: center;
  }
  .nav-bar .nav-btn .icon {
    background: url(icons.png);
    width: 20px;
    height: 20px;
    margin: 2px auto;
    display: block;
  }
  .nav-bar .nav-btn.active {
    background-color: #5A6378;
  }
  .nav-bar .zoom-in .icon {
    background-position: 0 -730px;
  }
  .nav-bar .zoom-out .icon {
    background-position: 0 -750px;
  }
  .nav-bar .hand .icon {
    background-position: 0 -770px;
    width: 25px;
    height: 25px;
    margin: 0 auto;
  }
  .nav-bar .camera .icon {
    background-position: 0 -870px;
    width: 25px;
    height: 25px;
    margin: 0 auto;
  }
  .nav-bar .nav-trigger .icon {
    background-position: 0 -845px;
    width: 25px;
    height: 25px;
    margin: 0 auto;
  }
  .nav-bar .zoom-pan {
    width: 2px;
    height: 70px;
    box-shadow: 0 1px #6666CC;
    position: relative;
    background: white;
    margin: 3px auto;
    overflow: visible;
  }
  .nav-bar .zoom-pan .origin {
    position: absolute;
    width: 20px;
    height: 8px;
    left: -9px;
    margin-top: -4px;
    background: transparent;
  }
  .nav-bar .zoom-pan .origin:after {
    content: ' ';
    display: block;
    width: 6px;
    height: 2px;
    background: white;
    left: 7px;
    top: 3px;
    position: absolute;
  }
  .nav-bar .zoom-pan .indicator {
    position: absolute;
    width: 8px;
    height: 8px;
    left: -3px;
    background: white;
    border-radius: 100%;
    margin-top: -4px;
  }
  .nav-previewer {
    background: #fff;
    width: 140px;
    height: 120px;
    position: absolute;
    left: 45px;
    bottom: 30px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
    border-radius: 0 2px 2px 0;
    padding: 1px;
    z-index: 9;
    cursor: crosshair;
    transition: -webkit-transform 0.7s 0.1s ease;
    transition: transform .7s 0.1s ease;
  }
  .nav-previewer.grab {
    cursor: move;
    cursor: -webkit-grabbing;
    cursor: -moz-grabbing;
    cursor: grabbing;
  }

  .hotbox {
    font-family: Arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
    position: absolute;
    left: 0;
    top: 0;
    overflow: visible;
    z-index: 9999;
  }
  .hotbox .state {
    position: absolute;
    overflow: visible;
    display: none;
  }
  .hotbox .state .center .button,
  .hotbox .state .ring .button {
    position: absolute;
    width: 70px;
    height: 70px;
    margin-left: -35px;
    margin-top: -35px;
    border-radius: 100%;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  }
  .hotbox .state .center .label,
  .hotbox .state .ring .label,
  .hotbox .state .center .key,
  .hotbox .state .ring .key {
    display: block;
    text-align: center;
    line-height: 1.4em;
    vertical-align: middle;
  }
  .hotbox .state .center .label,
  .hotbox .state .ring .label {
    font-size: 12px;
    margin-top: 17px;
    color: black;
    font-weight: normal;
    line-height: 1em;
  }
  .hotbox .state .center .key,
  .hotbox .state .ring .key {
    font-size: 12px;
    color: #999;
  }
  .hotbox .state .ring-shape {
    position: absolute;
    left: -25px;
    top: -25px;
    border: 25px solid rgba(0, 0, 0, 0.3);
    border-radius: 100%;
    box-sizing: content-box;
  }
  .hotbox .state .top,
  .hotbox .state .bottom {
    position: absolute;
    white-space: nowrap;
  }
  .hotbox .state .top .button,
  .hotbox .state .bottom .button {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 10px;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    position: relative;
  }
  .hotbox .state .top .button .label,
  .hotbox .state .bottom .button .label {
    font-size: 14px;
    line-height: 14px;
    vertical-align: middle;
    color: black;
    line-height: 1em;
  }
  .hotbox .state .top .button .key,
  .hotbox .state .bottom .button .key {
    font-size: 12px;
    line-height: 12px;
    vertical-align: middle;
    color: #999;
    margin-left: 3px;
  }
  .hotbox .state .top .button .key:before,
  .hotbox .state .bottom .button .key:before {
    content: '(';
  }
  .hotbox .state .top .button .key:after,
  .hotbox .state .bottom .button .key:after {
    content: ')';
  }
  .hotbox .state .button {
    background: #F9F9F9;
    overflow: hidden;
    cursor: default;
  }
  .hotbox .state .button .key,
  .hotbox .state .button .label {
    opacity: 0.3;
  }
  .hotbox .state .button.enabled {
    background: white;
  }
  .hotbox .state .button.enabled .key,
  .hotbox .state .button.enabled .label {
    opacity: 1;
  }
  .hotbox .state .button.enabled:hover {
    background: #48b3ff;
  }
  .hotbox .state .button.enabled:hover .label {
    color: white;
  }
  .hotbox .state .button.enabled:hover .key {
    color: #fadfdf;
  }
  .hotbox .state .button.enabled.selected {
    -webkit-animation: selected .1s ease;
    background: #48b3ff;
  }
  .hotbox .state .button.enabled.selected .label {
    color: white;
  }
  .hotbox .state .button.enabled.selected .key {
    color: #fadfdf;
  }
  .hotbox .state .button.enabled.pressed,
  .hotbox .state .button.enabled:active {
    background: #48b3ff;
  }
  .hotbox .state .button.enabled.pressed .label,
  .hotbox .state .button.enabled:active .label {
    color: white;
  }
  .hotbox .state .button.enabled.pressed .key,
  .hotbox .state .button.enabled:active .key {
    color: #fff0e6;
  }
  .hotbox .state.active {
    display: block;
  }
  @-webkit-keyframes selected {
    0% {
      -webkit-transform: scale(1);
              transform: scale(1);
    }
    50% {
      -webkit-transform: scale(1.1);
              transform: scale(1.1);
    }
    100% {
      -webkit-transform: scale(1);
              transform: scale(1);
    }
  }
  .hotbox-key-receiver {
    position: absolute;
    left: -999999px;
    top: -999999px;
    width: 20px;
    height: 20px;
    outline: none;
    margin: 0;
  }
  